package com.quanyan.stadiumScheduler.constants;

/**
 * Created by Administrator on 2014/12/6.
 */
public class GameConstants {

    public static final Byte CLUB_CREATE = 1;
    public static final Byte PERSONAL_CREATE = 2;

    /**
     * ITLS任务的key
     *
     * */
    public static final String STADIUM_JOB_ID_CLOSE_ORDER = "STADIUM_JOB_ID_CLOSE_ORDER";
    public static final String STADIUM_JOB_ID_REFRESH_OFFICIAL_GAME = "STADIUM_JOB_ID_REFRESH_OFFICIAL_GAME";
    public static final String STADIUM_JOB_ID_REFRESH_COMPLEMENTE_OFFICIAL_GAME = "STADIUM_JOB_ID_REFRESH_COMPLEMENTE_OFFICIAL_GAME";
    public static final String STADIUM_JOB_ID_REFRESH_GAME_EVENT_NUM = "STADIUM_JOB_ID_REFRESH_GAME_EVENT_NUM";
    public static final String STADIUM_JOB_ID_GAME_START_REMIND_0_HOUR = "STADIUM_JOB_ID_GAME_START_REMIND_0_HOUR";
    public static final String STADIUM_JOB_ID_REFRESH_EXCEPTION_MQ = "STADIUM_JOB_ID_REFRESH_EXCEPTION_MQ";
    public static final String STADIUM_JOB_ID_REFRESH_INVITE_COUNT = "STADIUM_JOB_ID_REFRESH_INVITE_COUNT";
    public static final String STADIUM_JOB_ID_UPDATE_PERSON_PK_RECORD = "STADIUM_JOB_ID_UPDATE_PERSON_PK_RECORD";
    public static final String STADIUM_JOB_ID_CLOSE_PERSON_PK_EXPIRE = "STADIUM_JOB_ID_CLOSE_PERSON_PK_EXPIRE";

    //系统自动取消超过七天未编排的内部赛
    public static final String STADIUM_JOB_ID_SYSTEM_CANCEL_CLUB_GAME_ENENTS_EXPIRE = "STADIUM_JOB_ID_SYSTEM_CANCEL_CLUB_GAME_ENENTS_EXPIRE";

    //已删除 未删除
    public static final Byte IS_DELETE = 1;
    public static final Byte IS_NOT_DELETE = 0;


    /**
     * 个人比赛类型,用于统计
     *
     * */
    public static final Byte GAME_TYPE_OFFICIAL= 0;  //官方赛
    public static final Byte GAME_TYPE_PK = 1;      //PK赛事

    //是否
    public static final Byte ORDER_IS_CLOST_YES = 1;
    public static final Byte ORDER_IS_CLOST_NO = 0;

    //支付状态：
    public static final Byte ON_PAYING = 1; //支付期间
    public static final Byte FAIL_PAY = 2;//支付失败
    public static final Byte SUCCESS_PAY = 3;//支付成功

    //订单状态
    public static final Byte WAIT_ORDER = 0;//已下单等待支付
    public static final Byte EXPIRE_ORDER = 1;//订单超时
    public static final Byte SUCCESS_ORDER = 2;//支付成功
    public static final Byte ON_REFUND = 5;//退款中
    public static final Byte SUCCESS_REFUND = 6;//退款成功

    /**
     * 队伍类别
     *
     * 0:用户
     * 1:俱乐部
     * */
    public static final Byte TEAM_TYPE_PERSON = 0;
    public static final Byte TEAM_TYPE_CLUB = 1;

    /**
     * 结果录入状态
     *
     *
     * */
    public static final Byte RECORD_WAIT = 0;
    public static final Byte RECORD_WAIT_SURE = 1;
    public static final Byte RECORD_SUCCESS = 2;
    public static final Byte RECORD_SECOND_WAIT_SURE = 3;

    /**
     * 默认的参数分组key
     *
     * */
    public static final String STADIUM_DEFAULT_GROUP_PARAMETER_KEY = "STADIUM_PUSH_MSG";    //消息分组
    public static final String STADIUM_DEFAULT_GROUP_BASE_CONFIG_KEY = "STADIUM_BASE_CONFIG";    //运动场基础配置分组

    /**
     * 等级分最小值（小球）
     */
    public static final int GRADE_MIN_GRADE_POINT_FOR_SMALLBALL = 1000;

    /**
     * 等级分最高值
     */
    public static final Integer INTEGRAL_MAXVALUE= 5999;

    /**
     * 等级分是否有效
     */
    public static final byte YES = 1;
    public static final byte NO = 0;

    /**
     * 赛事删除类型
     * 0、不删除；1、管理员主动取消；2、系统自动取消
     */
    public static final byte DELETE_NOT = 0;
    public static final byte DELETE_BY_ADMINISTRATOR = 1;
    public static final byte DELETE_BY_SYSTEM = 2;


/***********************************************约运动常量**************************************************************/
    /**
     * 每天最大邀请次数
     */
    public static final int MAX_INVITE_CNT = 20;//每天最大邀请次数
}

